python -m pip install --upgrade --force-reinstall pip
#You need to put python -m in front of pip and it should work
python -m pip install <python package>
#example
python -m pip install kaggle
import pip
pip.main(['install','flask']) # replace flask with the name of module you want to install